package com.kgc.entity;

import java.util.HashMap;
import java.util.Map;

/**
 * @author :qinya
 * @PackageName:com.kgc.entity
 * @ClassName: BuyCart
 * @Description: 购物车
 * @date : 2025/5/26,16:03
 */
public class BuyCart {

    private String cartId;//购物车id

    private Map<String, BuyCartProduct> map;

    public BuyCart() {
    }

    public BuyCart(String cartId) {
        this.cartId = cartId;
        map = new HashMap<>();
    }

    public String getCartId() {
        return cartId;
    }

    public void setCartId(String cartId) {
        this.cartId = cartId;
    }

    public Map<String, BuyCartProduct> getMap() {
        return map;
    }

    public void setMap(Map<String, BuyCartProduct> map) {
        this.map = map;
    }

}
